package com.qys.livesMall.file.server.upload.model.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 视频库
 * </p>
 *
 * @author
 * @since 2023-05-30
 */
@Getter
@Setter
@TableName("video_store")
@Schema(name = "VideoStore", description = "视频库")
public class VideoStore implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "id")
    @TableId(value = "id")
    private Long id;

    @Schema(description = "视频地址")
    private String url;

    @Schema(description = "视频图片地址")
    private String imgUrl;

    @Schema(description = "上传时间")
    private LocalDateTime createTime;

    @Schema(description = "文件类型")
    private String type;
}
